package com.yunbao.hujin.mybottomfragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.widget.Toast;

/**
 * Created by Administrator on 2017/10/18.
 */

public class BaseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO 可以在这里初始化一些东西
        // TODO 诸如ButterKnife和toolbar之类的东西
    }

    //一些子类都有可能用到的方法，等等……
    public void showMessage(String text) {
        Toast.makeText(this, text, Toast.LENGTH_SHORT).show();
        Log.e("Tag-Base_showMessage", text);
    }

    protected void showDialog(){

    }
    protected void dismissDialog(){

    }

}

